package questions;

/**
 * 
 * @author Evgeny Pavlenko
 * 
 */
public class QuestionStringAnswer extends Question {

	public QuestionStringAnswer(String question, String correctAnswer) {
		this.question = question;
		this.correctAnswer = correctAnswer;
		this.answers = null;
	}
	
	public boolean isCorrectAnswer(String answer)
	{
		if(correctAnswer.equalsIgnoreCase(answer)) return true;
		return false;
	}

}
